package common;

import java.math.BigInteger;

public class Settings {

	public static final String loggerName = "log.txt";
	public static final int numOfShares = 10;
	public static final int threshold = 4;
	public static final int numberOfArbitratoras = 12;
	public static final int sizeOfAgreementSet = 8;

	/**
	 * polynomialPrime is the smaller prime (q)
	 */
	public static final BigInteger polynomialPrime = new BigInteger("953");
	/**
	 * commitmentPrime is the big prime (P)
	 */
	public static final BigInteger commitmentPrime = new BigInteger("1907"); 
	/**
	 * generatorCommitmentPrime is a a generator of a subfield with the size of q
	 * It is g^2 (where g is the generator of p) 
	 */
	public static final BigInteger generatorCommitmentPrime = new BigInteger("4"); 

	public static final boolean debugMode = false;
	public static final String publicKeyFileName = "publicKey";
	public static final String privateKeyFileName = "privateKey";
	
	/***
	 * Web Service URI and NameSpace
	 */
	public static final String ARBITRATOR_URI = "http://localhost:8080/axis2/services/ArbitratorsService";
	public static final String ARBITRATOR_NS = "http://arbitrator.service";
	public static final String SERVER_URI =  "http://localhost:8080/axis2/services/CondAnonForumServer";
	public static final String SERVER_NS = "http://server.service";
	public static final String CA_URI =  "http://localhost:8080/axis2/services/CertAuthService";
	public static final String CA_NS = "http://ca.service";
	public static final String BBOARD_URI =  "http://localhost:8080/axis2/services/PublicSharesBoard";
	public static final String BBOARD_NS = "http://bboard.service";
}
